﻿module poseidon.poseidon;

private import poseidon.loader;


version(build){
	debug{
		pragma(link, "dwtd.lib");
		pragma(link, "dwtextrad.lib");
	}else{
		pragma(link, "dwt.lib");
		pragma(link, "dwtextra.lib");
	}

	pragma(link, "poseidon.res");

	pragma(link, "advapi32.lib");
	pragma(link, "comctl32.lib");
	pragma(link, "gdi32.lib");
	pragma(link, "shell32.lib");
	pragma(link, "comdlg32.lib");
	pragma(link, "ole32.lib");
	pragma(link, "uuid.lib");
	pragma(link, "phobos.lib");


/*
	pragma(link, "XDCuser32.lib");
	pragma(link, "XDCimm32.lib");
	pragma(link, "XDCshell32.lib");
	pragma(link, "XDCmsimg32.lib");
	pragma(link, "XDCgdi32.lib");
	pragma(link, "XDCkernel32.lib");
	pragma(link, "XDCusp10.lib");
	pragma(link, "XDColeaut32.lib");
	pragma(link, "XDColeacc.lib");

*/
	pragma(link, "olepro32_dwt.lib");
	pragma(link, "user32_dwt.lib");
	pragma(link, "imm32_dwt.lib");
	pragma(link, "shell32_dwt.lib");
	pragma(link, "msimg32_dwt.lib");
	pragma(link, "gdi32_dwt.lib");
	pragma(link, "kernel32_dwt.lib");
	pragma(link, "usp10_dwt.lib");
	pragma(link, "oleaut32_dwt.lib");
	pragma(link, "oleacc_dwt.lib");
}else
{
	pragma( lib, "dwt.lib" );
	pragma( lib, "dwtextra.lib" );
	//pragma( lib, "poseidon.res");

	pragma( lib, "advapi32.lib");
	pragma( lib, "comctl32.lib");
	pragma( lib, "gdi32.lib");
	pragma( lib, "shell32.lib");
	pragma( lib, "comdlg32.lib");
	pragma( lib, "ole32.lib");
	pragma( lib, "uuid.lib");
	//pragma( lib, "phobos.lib");
/*


	pragma(lib, "XDCuser32.lib");
	pragma(lib, "XDCimm32.lib");
	pragma(lib, "XDCshell32.lib");
	pragma(lib, "XDCmsimg32.lib");
	pragma(lib, "XDCgdi32.lib");
	pragma(lib, "XDCkernel32.lib");
	pragma(lib, "XDCusp10.lib");
	pragma(lib, "XDColeaut32.lib");
	pragma(lib, "XDColeacc.lib");
*/

	pragma( lib, "olepro32_dwt.lib");
	pragma( lib, "user32_dwt.lib");
	pragma( lib, "imm32_dwt.lib");
	pragma( lib, "shell32_dwt.lib");
	pragma( lib, "msimg32_dwt.lib");
	pragma( lib, "gdi32_dwt.lib");
	pragma( lib, "kernel32_dwt.lib");
	pragma( lib, "usp10_dwt.lib");
	pragma( lib, "oleaut32_dwt.lib");
	pragma( lib, "oleacc_dwt.lib");
}

/**
 * the global entrance
 */
private import std.stdio;
private import dwt.all;
void main(char[][] args){

	Loader.main(args);
}
